import Vue from 'vue'
import App from './App.vue'
import router from './router'
//Eelemnt-ui组件引入 
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import "./assets/css/reset.css"
import './assets/fonts/iconfont.css';
//Eelemnt-ui使用
Vue.use(ElementUI)
// Echarts组件引入 
import echarts from "echarts";
//中央事件总线
Vue.prototype.$bus=new Vue()
// Echarts使用
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false
import * as filters from '@/filters'
Object.keys(filters).forEach(v => {
  Vue.filter(v, filters[v])
})
new Vue({
  router,
  render: (h) => h(App),
}).$mount('#app')
